


TARGET=libKJson.a
LIBPATH=lib
CXXFLAGS= -g -Wall -static
CPP=g++

.PHONY : clean 

test : test.cpp $(TARGET) 
	@$(CPP) $^ $(TARGET) $(CXXFLAGS) -o $@
	@./$@
	@$(RM) $@

$(TARGET) : 
	@cp ../lib/$(TARGET) $(TARGET)

clean : 
	@$(RM) *.o
	@$(RM) *.a
	@$(RM) test
